<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class Query{

  public static function factory(){

  }
  
  public function getSql(){
    
  }

  public function count(){
    $sql  = $this->getSql();
  }
}